package com.haichang.demomybatis.mapper;


import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haichang.demomybatis.entity.Good;

/*
 * 
 * 负责对数据库增删改查操作
 * 
 */
@Mapper
public interface GoodMapper extends BaseMapper<Good>{
    
    /*注释掉的是mybatis的用法 */
    // @Select("select * from GOODS")
    // public List<Goods> find();

    // @Insert("insert into GOODS values(#{gid},#{gname},#{gprice},#{gnum})")
    // public int insert(Goods good);


}
